#!/bin/bash
set -e

# 执行全量备份
echo "开始执行全量备份..."
pgbackrest --stanza=poddb --type=full --log-level-console=info backup

# 检查备份
echo "检查备份状态..."
pgbackrest --stanza=poddb info

echo "全量备份完成。" 